<?php
/**
 * @version     1.0.5
 * @package     com_vereadores
 * @copyright   Copyright (C) 2013. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 * @author      JORGE EDUARDO DE O LIVEIRA LUCIANO <jeolcavaco@hotmail.com> - http://jorgeeduardo.wordpress.com
 */
// no direct access
defined('_JEXEC') or die;

//Load admin language file
$lang = JFactory::getLanguage();
$lang->load('com_vereadores', JPATH_ADMINISTRATOR);

?>
<?php if ($this->item) : ?>

    <div class="item_fields">

        <ul class="fields_list">

            			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_ID'); ?>:
			<?php echo $this->item->id; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_NOME'); ?>:
			<?php echo $this->item->nome; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_FOTO'); ?>:

			<?php 
				$uploadPath = 'administrator' . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_vereadores' . DIRECTORY_SEPARATOR . 'images/vereadores' . DIRECTORY_SEPARATOR . $this->item->foto;
			?>
			<a href="<?php echo JRoute::_(JUri::base() . $uploadPath, false); ?>" target="_blank"><?php echo $this->item->foto; ?></a></li>			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_DATANASCIMENTO'); ?>:
			<?php echo $this->item->datanascimento; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_NATURALIDADE'); ?>:
			<?php echo $this->item->naturalidade; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_ESTADOCIVIL'); ?>:
			<?php echo $this->item->estadocivil; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_OCUPACAO'); ?>:
			<?php echo $this->item->ocupacao; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_ESCOLARIDADE'); ?>:
			<?php echo $this->item->escolaridade; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_PARTIDO'); ?>:
			<?php echo $this->item->partido; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_TELEFONE'); ?>:
			<?php echo $this->item->telefone; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_RAMAL'); ?>:
			<?php echo $this->item->ramal; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_SITE'); ?>:
			<?php echo $this->item->site; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_EMAIL'); ?>:
			<?php echo $this->item->email; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_CONTEUDO'); ?>:
			<?php echo $this->item->conteudo; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_ORDERING'); ?>:
			<?php echo $this->item->ordering; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_STATE'); ?>:
			<?php echo $this->item->state; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_CHECKED_OUT'); ?>:
			<?php echo $this->item->checked_out; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_CHECKED_OUT_TIME'); ?>:
			<?php echo $this->item->checked_out_time; ?></li>
			<li><?php echo JText::_('COM_VEREADORES_FORM_LBL_VEREADOR_CREATED_BY'); ?>:
			<?php echo $this->item->created_by; ?></li>


        </ul>

    </div>
    
<?php
else:
    echo JText::_('COM_VEREADORES_ITEM_NOT_LOADED');
endif;
?>
